package java9_3;

/**
 * @author oldliu
 * @since 1.0
 */
public class PetOwner {
    private String name;
    public PetOwner(String n){
        name=n;
    }
    public Gou buy(int money){
        System.out.println(name+"化"+money+"买狗");
        return new Gou();
    }
    public Tugou sell(int money){
        System.out.println(name+"化"+money+"买狗");
        return new Tugou();
    }
}
